<!-- 样式 -->
<style>
    .user_head{float: left;font-weight: bold;padding: 5px;font-size: 14px;width: 100%;}
    .user_info{float: left;width: 100%;}
    .user_info ul{width: 100%;}

    .user_info .line{float: left;width: 100%;padding: 5px 0;}
    .user_info .line .title{float: left;width: 9.9%;text-align:right;}
    .user_info .line .content{float: left;width: 90.1%;text-align:left;}

    .user_info .heads{float: left;width: 33%;padding: 5px 0;}
    .user_info .heads .title{float: left;width: 30%;text-align:right;}
    .user_info .heads .content{float: left;width: 70%;text-align:left;}

    .user_info .material{float: left;width: 100%;padding: 5px 0;}
    .user_info .material .name{float: left;width: 9.9%;text-align:right;}
    .user_info .material .content{float: left;width: 15%;text-align:left;}
    .user_info .material .data1{float: left;width: 10%;text-align:left;}
    .user_info .material .data2{float: left;width: 10%;text-align:left;}
    .user_info .material .data3{float: left;width: 15%;text-align:left;}
    .user_info .material .data4{float: left;width: 15%;text-align:left;}
    .user_info .material .data5{float: left;width: 10%;text-align:left;}
    .user_info .material .operation{float: left;text-align:left;}

    .user_info a{cursor: pointer;color: #ffffff;padding-right: 10px;}

    .user_msg {margin-left: 25px;color: red;font-weight: bold;}
    .pointer th {
        background: #fcfcfc;
        color: #455469;
        font-size: 17px;
        text-align: center;
    }
    /*.pointer label.error {*/
        /*display: none;*/
    /*}*/
    .pointer td {
        text-align: center;
    }
</style>

<!-- 编辑区域 -->
<div class="lists_empty">
    <form method="post" action="{:Url('user_evaluate_yes')}">
    <!--添加客户表单-->
    <div class="tab_edit_empty">
        <div class="user_head">客户基础信息</div>
        <div class="user_info">
            <ul >
                <li class="heads"><span class="title">客户编号：</span><span class="content">{$user_info['user_id']}</span></li>
                <li class="heads"><span class="title">所属代理商：</span><span class="content">{:widget('common/Name/agent',array($user_info["agent_id"]))}</span></li>
                <li class="heads"><span class="title">所属业务员：</span><span class="content">{:widget('common/Name/agent_admin',array($user_info["agent_id"]))}</span></li>
                <li class="heads"><span class="title">所在城市：</span><span class="content">{:widget('common/Name/area',array($user_info["province_id"]))}、{:widget('common/Name/area',array($user_info["city_id"]))}</span></li>
                <li class="heads"><span class="title">昵称：</span><span class="content">{$user_info['nick']}</span></li>
                <li class="heads"><span class="title">真实姓名：</span><span class="content">{$user_info['real']}</span></li>
                <li class="heads"><span class="title">身份证号码：</span><span class="content">{empty  name="$user_info['identity']"}--{else}{$user_info['identity']}{/empty}</span></li>
                <li class="heads"><span class="title">电话号码：</span><span class="content">{$user_info['phone']}</span></li>
                <li class="heads"><span class="title">信用额度：</span><span class="content">{$user_info['credit_limit']}</span></li>
                <li class="heads"><span class="title">性别：</span><span class="content">{:widget('common/Color/Color',array("sex",$user_info['sex']))}</span></li>
                <li class="heads"><span class="title">年龄：</span><span class="content">{$user_info['age']}</span></li>
                <li class="heads"><span class="title">出生日期：</span><span class="content">{$user_info['birthday']|default='--'}</span></li>
                <li class="heads"><span class="title">客户状态：</span><span class="content">{:widget('common/Color/Color',array("user_status",$user_info['user_status']))}</span></li>
                <li class="heads"><span class="title">来源：</span><span class="content">{:widget('common/Color/Color',array("source",$user_info['source']))}</span></li>
                <li class="heads"><span class="title">是否设置支付密码：</span><span class="content">{:widget('common/Color/Color',array("is_pay_pwd",$user_info['is_pay_pwd']))}</span></li>
                <li class="heads"><span class="title">是否实名：</span><span class="content">{:widget('common/Color/Color',array("is_real",$user_info['is_real']))}</span></li>
                <li class="heads"><span class="title">是否学生：</span><span class="content">{:widget('common/Color/Color',array("is_student",$user_info['is_student']))}</span></li>
                <li class="heads"><span class="title">客户职业：</span><span class="content">{$user_info['occupation']}</span></li>


                <li class="heads"><span class="title">是否有社保：</span><span class="content">{:widget('common/Color/Color',array("is_social",$user_info['is_social']))}</span></li>
                <li class="heads"><span class="title">是否有公积金：</span><span class="content">{:widget('common/Color/Color',array("is_accumulation_fund",$user_info['is_accumulation_fund']))}</span></li>
                <li class="heads"><span class="title">婚姻状况：</span><span class="content">{:widget('common/Color/Color',array("is_marry",$user_info['is_marry']))}</span></li>
                <li class="heads"><span class="title">是否黑户：</span><span class="content">{:widget('common/Color/Color',array("is_white",$user_info['is_white']))}</span></li>
                <li class="heads"><span class="title">是否有过贷款：</span><span class="content">{:widget('common/Color/Color',array("is_loan",$user_info['is_loan']))}</span></li>

                <li>
                    <input type="hidden" name="data_is_social" value="{$user_info.is_social}" />
                    <input type="hidden" name="data_is_accumulation_fund" value="{$user_info.is_accumulation_fund}" />
                    <input type="hidden" name="data_is_marry" value="{$user_info.is_marry}" />
                    <input type="hidden" name="data_is_white" value="{$user_info.is_white}" />
                    <input type="hidden" name="data_is_loan" value="{$user_info.is_loan}" />
                    <input type="hidden" name="data_is_overdue" value="{$user_info.is_overdue}" />
                    <input type="hidden" name="data_is_student" value="{$user_info.is_student}" />
                    <input type="hidden" name="data_is_car" value="{$user_info.is_car}" />
                    <input type="hidden" name="data_is_house" value="{$user_info.is_house}" />
                    <input type="hidden" name="data_is_credit_card" value="{$user_info.is_credit_card}" />
                    <input type="hidden" name="data_is_policy" value="{$user_info.is_policy}" />
                    <input type="hidden" name="data_is_company" value="{$user_info.is_company}" />
                    <input type="hidden" name="data_is_assure" value="{$user_info.is_assure}" />
                    <input type="hidden" name="data_is_shop" value="{$user_info.is_shop}" />
                    <input type="hidden" name="data_is_court" value="{$user_info.is_court}" />
                    <input type="hidden" name="data_agree_protocol" value="{$user_info.agree_protocol}" />
                </li>
            </ul>
        </div>

        {empty name="overdue_info"}
        <div class="user_head">客户逾期信息【{:widget('common/Color/Color',array("is_overdue",$user_info['is_overdue']))}】</div>
        {else/}
        <div class="user_head">客户逾期信息【{:widget('common/Color/Color',array("is_overdue",$user_info['is_overdue']))}】</div>
        <div class="user_info">
            <table class="pointer" border="1 " width="92%" style="margin-left: 51px;border: #999999d9;">
                <thead style="font-size: 19px;">
                <th style="width: 6%;" class="tabSort-header"><p>日期</p></th>
                <th style="width: 6%;" class="tabSort-header"><p>是否有逾期</p></th>
                <th style="width: 8%;" class="tabSort-header"><p>未超过30天</p></th>
                <th style="width: 10%;" class="tabSort-header"><p>30天以上</p></th>
                <th style="width: 6%;" class="tabSort-header"><p>60天以上</p></th>
                <th style="width: 6%;" class="tabSort-header"><p>90天以上</p></th>
                </thead>
                <tbody>
                {foreach name="overdue_info" item="info"}
                <tr>
                    <td>
                        {switch name="$key"}
                        {case value='half_year'}
                        最近半年
                        {/case}
                        {case value='one_year'}
                        最近一年
                        {/case}
                        {case value='three_year'}
                        最近三年
                        {/case}
                        {case value='continuity'}
                        连续逾期
                        {/case}
                        {/switch}
                    </td>
                    <td>{:widget('common/Color/Color',array("is_yes",$info['is_overdue']))}</td>
                    <td>{$info.less_30}次</td>
                    <td>{$info.over_30}次</td>
                    <td>{$info.over_60}次</td>
                    <td>{$info.over_90}次</td>
                </tr>
                </tbody>
                {/foreach}
            </table>
        </div>
        {/empty}

        {empty name="$user_house_list"}
        <div class="user_head">客户房产信息【{:widget('common/Color/Color',array("is_house",$user_info['is_house']))}】</div>
        <div class="user_msg">客户未添加房产信息！</div>
        {else/}
        <div class="user_head">客户房产信息【{:widget('common/Color/Color',array("is_house",$user_info['is_house']))}】</div>
        <div class="user_info">
            <ul >
                {foreach name="$user_house_list" item="info"}
                <li class="material">
                    <input type="hidden" name="house[]" value="{$info.user_house_id}" />
                    <span class="name">房产详细地址：</span>
                    <span class="data1">面积：{$info.area}平米</span>
                    <span class="data2">估价：￥{$info.price}万元</span>
                    <span class="data2">房龄：{empty name="$info['age']"}--{else/}{$info.age}{/empty}年</span>
                    <span class="data4">付款方式：{:widget('common/Color/Color',array("user_car_pay_type",$info['pay_type']))}</span>
                    <span class="data5">类型：{:widget('common/Color/Color',array("house_type",$info['house_type']))}</span>
                    <span class="operation"></span>
                </li>
                {/foreach}
            </ul>
        </div>
        {/empty}

        {empty name="user_policy_list"}
        <div class="user_head">客户保单信息【{:widget('common/Color/Color',array("is_policy",$user_info['is_policy']))}】</div>
        <div class="user_msg">客户未添加保单信息！</div>
        {else/}
        <div class="user_head">客户保单信息【{:widget('common/Color/Color',array("is_policy",$user_info['is_policy']))}】</div>
        <div class="user_info">
            <ul >
                {foreach name="user_policy_list" item="info"}
                <input type="hidden" name="policy[]" value="{$info.user_policy_id}" />
                <li class="material">
                    <span class="name">保险公司：</span>
                    <span class="content">{$info.company_name}</span>
                    <!--<span class="data1">是否历史：{:widget('common/Color/Color',array("is_history",$info['is_history']))}</span>-->
                    <span class="data2">状态：{:widget('common/Color/Color',array("policy_status",$info['policy_status']))}</span>
                    <span class="data3">投保人：{$info.applicant_name}</span>
                    <span class="data4">保单生效时间：{$info['start_time']|default='--'}</span>
                    <span class="data5">缴费金额：{empty name="$info['pay_money']"}--{else/}￥{$info.pay_money}元{/empty}</span>
                    <span class="data5">缴费年限：{empty name="$info['pay_age_limit']"}--{else/}{$info.pay_age_limit}年{/empty}</span>
                    <span class="operation">
                        </span>
                </li>
                {/foreach}
            </ul>
        </div>
        {/empty}

        {empty name="user_car_list"}
        <div class="user_head">客户车辆信息【{:widget('common/Color/Color',array("is_car",$user_info['is_car']))}】</div>
        <div class="user_msg">客户未添加车辆信息！</div>
        {else/}
        <div class="user_head">客户车辆信息【{:widget('common/Color/Color',array("is_car",$user_info['is_car']))}】</div>
        <div class="user_info">
            <ul >
                {foreach name="user_car_list" item="info"}
                <li class="material">
                    <input type="hidden" name="car[]" value="{$info.user_car_id}" />
                    <span class="name">车辆品牌信号信息：</span>
                    <span class="content">{:widget('common/Name/car_brand',array($info['car_brand_id']))}、{:widget('common/Name/car_model',array($info['car_model_id']))}、{:widget('common/Name/car_config',array($info['car_config_id']))}</span>
                    <!--<span class="data1">是否历史：{:widget('common/Color/Color',array("is_history",$info['is_history']))}</span>-->
                    <span class="data2">状态：{:widget('common/Color/Color',array("car_status",$info['car_status']))}</span>
                    <span class="data3">购买价格：￥{$info.car_money}万元</span>
                    <span class="data4">付款方式：{:widget('common/Color/Color',array("user_car_pay_type",$info['pay_type']))}</span>
                    <span class="data3">使用年限：{empty name="$info['full_use_year']"}--{else/}{$info.full_use_year}年{/empty}</span>
                    <span class="data3">购买日期：{empty name="$info['buy_time']"}--{else/}{$info.buy_time}{/empty}</span>
                    <span class="operation">
                        </span>
                </li>
                {/foreach}
            </ul>
        </div>
        {/empty}

        {empty name="$user_loan_list"}
        <div class="user_head">客户贷款信息【{:widget('common/Color/Color',array("is_loan",$user_info['is_loan']))}】</div>
        <div class="user_msg">客户未添加贷款信息！</div>
        {else/}
        <div class="user_head">客户贷款信息【{:widget('common/Color/Color',array("is_loan",$user_info['is_loan']))}】</div>
        <div class="user_info">
            <ul >
                {foreach name="$user_loan_list" item="info"}
                <li class="material">
                    <input type="hidden" name="loan[]" value="{$info.user_loan_id}" />
                    <span class="name">贷款类型：</span>
                    <span class="content">{:widget('common/Color/Color',array("loan_type",$info['loan_type']))}</span>
                    <span class="data2">状态：{:widget('common/Color/Color',array("car_status",$info['loan_status']))}</span>
                    <span class="data2">贷款周期：{$info.loan_cycle}年</span>
                    <span class="data3">贷款金额：￥{$info.loan_money}万元</span>
                    <span class="data4">已还款金额：￥{$info.repay_amount}万元</span>
                    <span class="data3">贷款时间：{empty name="$info['loan_time']"}--{else/}{$info.loan_time}{/empty}</span>
                    <span class="operation">
                        </span>
                    {/foreach}
            </ul>
        </div>
        {/empty}

        {empty name="$user_company_list"}
        <div class="user_head">企业信息【{:widget('common/Color/Color',array("is_company",$user_info['is_company']))}】</div>
        <div class="user_msg">客户未添加企业！</div>
        {else/}
        <div class="user_head">企业信息【{:widget('common/Color/Color',array("is_company",$user_info['is_company']))}】</div>
        <div class="user_info">
            <ul >
                {foreach name="$user_company_list" item="info"}
                <li class="material">
                    <input type="hidden" name="company[]" value="{$info.asset_company_id}" />
                    <span class="name">企业名称：</span>
                    <span class="content" style="width:10%">{$info.company_name}</span>
                    <span class="data1">企业法人：{$info.law_man}</span>
                    <span class="data2">对公流水：￥{$info.flow_out}万元</span>
                    <span class="data3">对私流水：￥{$info.flow_in}万元</span>
                    <span class="data3">注册资本：￥{$info.register_capital}万元</span>
                    <span class="data3">员工人数：{$info['employee_num']|default='--'}</span>
                </li>
                {/foreach}
            </ul>
        </div>
        {/empty}

        <div class="user_head">贷款意向</div>
        <div class="user_info">
            <ul >
                <li class="material">
                    <table width="100%" class="list">
                        <tr>
                            <td class="t_r t_left_w">意向金额：</td>
                            <td class="t_l"><b style="color:red">{$user_evaluate_info.intention_amount|default='--'}</b> 万元</td>
                        </tr>
                        <tr>
                            <td class="t_r t_left_w">意向周期：</td>
                            <td class="t_l"><b style="color:red">{$user_evaluate_info.intention_amount|default='--'}</b> 个月</td>
                        </tr>
                    </table>
                </li>
            </ul>
        </div>
        <div class="user_head">评估</div>
        <div class="user_info">
            <ul >
                <li class="line">

                        <table width="100%" class="list">
                            <tr>
                                <td class="t_r t_left_w">信用评分：</td>
                                <td class="t_l">{:widget("common/Input/input",array("score",null,true,false))}（评分范围：350 ~ 950）</td>
                            </tr>
                            <tr style="display: none">
                                <td>评估编号：<input type="text" name="user_evaluate_id" value="{$user_evaluate_id}"/></td>
                            </tr>
                            <tr>
                                <td class="t_r t_left_w">利息最小值：</td>
                                <td class="t_l">{:widget("common/Input/input",array("interest_min",null,true,false))}（单位：%）</td>
                            </tr>
                            <tr>
                                <td class="t_r t_left_w">利息最大值：</td>
                                <td class="t_l">{:widget("common/Input/input",array("interest_max",null,true,false))}（单位：%）</td>
                            </tr>
                            <tr>
                                <table class="pointer" border="1 " width="92%" style="margin-left: 51px;border: #999999d9;">
                                    <thead>
                                        <th style="width: 6%;" class="tabSort-header"><p>类型</p></th>
                                        <th style="width: 8%;" class="tabSort-header"><p>是否拥有</p></th>
                                        <th style="width: 10%;" class="tabSort-header"><p>说明</p></th>
                                        <th style="width: 6%;" class="tabSort-header"><p>最小额度（单位：万）</p></th>
                                        <th style="width: 6%;" class="tabSort-header"><p>最大额度（单位：万）</p></th>
                                        <th style="width: 8%;" class="tabSort-header"><p>利息最小值（单位：%）</p></th>
                                        <th style="width: 8%;" class="tabSort-header"><p>利息最大值（单位：%）</p></th>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td>房产信息</td>
                                            <td>{:widget('common/Radio/radio',array('is_house','is_yes',$user_info['is_house'],true))}</td>
                                            <td>{:widget("common/Input/input",array("house_content",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("house_loan_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("house_loan_max",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("house_interest_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("house_interest_max",null,true,false,"width:150px;"))}</td>
                                        </tr>
                                        <tr>
                                            <td>车辆信息</td>
                                            <td>{:widget('common/Radio/radio',array('is_car','is_yes',$user_info['is_car'],true))}</td>
                                            <td>{:widget("common/Input/input",array("car_content",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("car_loan_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("car_loan_max",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("car_interest_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("car_interest_max",null,true,false,"width:150px;"))}</td>
                                        </tr>
                                        <tr>
                                            <td>保单信息</td>
                                            <td>{:widget('common/Radio/radio',array('is_policy','is_yes',$user_info['is_policy'],true))}</td>
                                            <td>{:widget("common/Input/input",array("policy_content",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("policy_loan_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("policy_loan_max",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("policy_interest_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("policy_interest_max",null,true,false,"width:150px;"))}</td>
                                        </tr>
                                        <tr>
                                            <td>公司流水</td>
                                            <td>{:widget('common/Radio/radio',array('is_company','is_yes',$user_info['is_company'],true))}</td>
                                            <td>{:widget("common/Input/input",array("company_content",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("company_loan_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("company_loan_max",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("company_interest_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("company_interest_max",null,true,false,"width:150px;"))}</td>
                                        </tr>
                                        <tr>
                                            <td>社保</td>
                                            <td>{:widget('common/Radio/radio',array('is_social','is_yes',$user_info['is_social'],true))}</td>
                                            <td>{:widget("common/Input/input",array("social_content",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("social_loan_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("social_loan_max",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("social_interest_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("social_interest_max",null,true,false,"width:150px;"))}</td>
                                        </tr>
                                        <tr>
                                            <td>公积金</td>
                                            <td>{:widget('common/Radio/radio',array('is_accumulation_fund','is_yes',$user_info['is_accumulation_fund'],true))}</td>
                                            <td>{:widget("common/Input/input",array("accumulation_content",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("accumulation_loan_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("accumulation_loan_max",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("accumulation_interest_min",null,true,false,"width:150px;"))}</td>
                                            <td>{:widget("common/Input/input",array("accumulation_interest_max",null,true,false,"width:150px;"))}</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </tr>
                            <tr >
                                <td class="t_r t_left_w"></td>
                                <td class="t_l">
                                    <div class="btn" style="margin-left: 49px; margin-top: 10px;"><input type="submit" class="but_blue" value="保存信息"></div>
                                </td>
                            </tr>
                        </table>

                </li>
            </ul>
        </div>
    </div>

    </form>
    <div >

    </div>
</div>
